using B.S.NewMedical.Api.Read.DTOS.Hospital;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.ContentManagement.Hospital
{
    /// <summary>
    /// 根据ID获取医院详情命令
    /// </summary>
    public class GetHospitalByIdCommand : IRequest<ApiResult<HospitalDto>>
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public int HospitalId { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="hospitalId">医院ID</param>
        public GetHospitalByIdCommand(int hospitalId)
        {
            HospitalId = hospitalId;
        }
    }
}